{% extends "base.html" %}

{% block title %}Resultados{% endblock %}

{% block content %}


{% if search_result_list %}
<form action="completeform" method="post">{% csrf_token %}
    {% for form in search_result_list %}
        <input type="checkbox" name="{{ form.id }}" value="form.id"> <a href="/forms/{{ form.id }}/">{{ form.title }}</a>
        <p>{{ form.description }}</p>
    {% endfor %}
    <input type="submit" value="Aplicar" />
</form>
{% else %}
    <p>No se encontraron resultados.</p>
{% endif %}

{% endblock %}